@extends('admin.layout.common')
@section('content')
    <link rel="stylesheet" type="text/css" href="{{URL::asset('css/user/EditingManagement.css')}}">
    <div class="content">
        <h1>添加角色</h1>
        <div class="input_box">
            <form method="post">
                {{csrf_field()}}
                <p>
                <label for="department"><span class="red_icon">*</span>所在部门：
                    <select name="department_id" style="width:400px;height:40px;border:1px solid #ccc;    margin: 10px;" required>
                        <option value="">--请选择--</option>
                        @foreach($list as $v)
                            <option value="{{$v['id']}}">{{$v['name_cn']}}</option>
                        @endforeach
                    </select>
                </label>
                </p>
                <p>
                <label for="name_cn">角色名称：<input type="text" required name="name_cn"/></label>
                </p>
                <input type="submit" class="return_btn input_red">
            </form>
        </div>
    </div>
    @endsection
<script type="text/javascript" src="{{URL::asset('js/user/EditingManagement.js')}}"></script>

